import reqUrl from "./url";
import logo from "@/assets/logo.png"

const pic = (id) =>{
	let p = `${reqUrl}/api/public/showImg/${id}`;
	if(id == undefined || id == ''){
		p = logo
	}
	return p;
}

export default pic;